package com.wl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("childercomments")
public class ChilderComments {
    @TableId(value = "ccid")
    private Integer ccid;

    @TableField(value = "cid")
    private Integer cid;

    @TableField(value = "uid")
    private Integer uid;

    @TableField(value = "nid")
    private Integer nid;

    @TableField(value = "context")
    private String context;

    @TableField(value = "creat_at")
    private Date creatAt = new Date();

    @TableField(value = "uname")
    private String uname;

    @TableField(value = "head")
    private String head;
}
